﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VRDD.OutputDto._0525
{
    /// <summary>
    ///  获取动态列表返回模型
    /// </summary>
    public class OutputDynamicList
    {
        /// <summary>
        ///  动态id
        /// </summary>
        public int dy_id { get; set; }
        /// <summary>
        ///  用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        ///  用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        ///  真实姓名
        /// </summary>
        public string du_name { get; set; }
        /// <summary>
        ///  动态描述
        /// </summary>
        public string d_note { get; set; }
        /// <summary>
        ///  创建时间
        /// </summary>
        public string create_date { get; set; }
        /// <summary>
        ///  经度
        /// </summary>
        public decimal gps_x { get; set; }
        /// <summary>
        ///  纬度
        /// </summary>
        public decimal gps_y { get; set; }
        /// <summary>
        ///  所在地
        /// </summary>
        public string create_url { get; set; }
        /// <summary>
        ///  用户是否已点赞
        /// </summary>
        public bool star_status { get; set; }
        /// <summary>
        ///  用户是否已读
        /// </summary>
        public bool read_status { get; set; }
        /// <summary>
        ///  视频地址
        /// </summary>
        public string video { get; set; }
        /// <summary>
        ///  真实姓名可见，0=仅自己可见；1=仅好友可见；2=所有人可见
        /// </summary>
        public int hide_name { get; set; }
        /// <summary>
        ///  几度好友
        /// </summary>
        public int du_friend { get; set; }
        /// <summary>
        ///  用户头像地址
        /// </summary>
        public string user_img { get; set; }
    }
    /// <summary>
    ///  获取动态列表返回模型
    /// </summary>
    public class OutputDynamicResult: OutputDynamicList
    {
        /// <summary>
        ///  图片列表
        /// </summary>
        public List<CirclePicList> picture { get; set; }
        /// <summary>
        ///  点赞用户列表
        /// </summary>
        public List<StarList> userStar { get; set; }
        /// <summary>
        ///  评论用户列表
        /// </summary>
        public List<UserReview> userReview { get; set; }
    }
    /// <summary>
    ///  图片列表
    /// </summary>
    public class CirclePicList
    {
        /// <summary>
        ///  图片名称
        /// </summary>
        public string img_name { get; set; }
        /// <summary>
        ///  图片地址
        /// </summary>
        public string img_url { get; set; }
    }
    /// <summary>
    ///  点赞列表
    /// </summary>
    public class StarList
    {
        /// <summary>
        ///  用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        ///  用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        ///  真实姓名
        /// </summary>
        public string du_name { get; set; }
        /// <summary>
        ///  用户头像
        /// </summary>
        public string user_img { get; set; }
        /// <summary>
        ///  点赞时间
        /// </summary>
        public string star_date { get; set; }
    }
    /// <summary>
    ///  用户评论列表
    /// </summary>
    public class UserReview
    {
        /// <summary>
        ///  评论id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        ///  用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        ///  用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        ///  真实姓名
        /// </summary>
        public string du_name { get; set; }
        /// <summary>
        ///  用户头像
        /// </summary>
        public string user_img { get; set; }
        /// <summary>
        ///  评论类容
        /// </summary>
        public string re_note { get; set; }
        /// <summary>
        ///  评论时间
        /// </summary>
        public string re_date { get; set; }
    }
}